import  "react-app-polyfill/ie11";//解决ie浏览器白屏 必须放在第一行
// import  "react-app-polyfill/stable ";
import 'babel-polyfill';//让ie支持 es6 es6转es
import 'url-search-params-polyfill';//让ie支持 new URLSearchParams
import React from 'react';
import ReactDOM from 'react-dom';
import './assets/js/config/globa';//引入全局变量
import store from './store';
import {Provider} from 'react-redux';
import './assets/css/common/public.css';
import './assets/css/common/icn.css';
import RouterComponent from './router';
import * as serviceWorker from './serviceWorker';

function App(){
    return(
        <React.Fragment>
            <Provider store={store}>
                <RouterComponent></RouterComponent>
            </Provider>
        </React.Fragment>
    )
}
ReactDOM.render(<App />, document.getElementById('root'));


serviceWorker.unregister();
